package com.usian.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class Supply implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String gid;
    private String name;
    private String people;
    private String dian;
    private String zhi;
    private String chuan;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:hh")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:hh")
    private Date time;
    private String miao;
}
